﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;

public class RandomInvoke : MonoBehaviour
{
    public UnityEvent[] events;

    public void Invoke()
    {
        events[Random.Range(0, events.Length)]?.Invoke();
    }
}
